using System;
using UnityEngine;

[Serializable]
public class GUIset : MonoBehaviour
{
	public GUITexture Tex;

	public float divx;

	public float divy;

	public float divx2;

	public float divy2;

	public int plusx;

	public int plusy;

	public int widt;

	public int heigh;

	public GUIset()
	{
		divx = 1.2f;
		divy = 1.04f;
		divx2 = 1.2f;
		divy2 = 1.04f;
		plusx = 256;
		plusy = -242;
		widt = -512;
		heigh = 384;
	}

	public void Update()
	{
		Tex = gameObject.GetComponent<GUITexture>();
		float num = (float)Screen.width / divx + (float)plusx;
		Rect pixelInset = Tex.pixelInset;
		float num3 = pixelInset.x = num;
		Rect rect2 = Tex.pixelInset = pixelInset;
		float num4 = (float)Screen.height / divy + (float)plusy;
		Rect pixelInset2 = Tex.pixelInset;
		float num6 = pixelInset2.y = num4;
		Rect rect4 = Tex.pixelInset = pixelInset2;
	}

	public void Main()
	{
	}
}
